Type.registerNamespace("BM");BM.ValidationError=function(a){this.item=a};BM.ValidationError.prototype={getErrorText:function(){return null},getItem:function(){return this.item}};BM.ValidationError.registerClass("BM.ValidationError",Sys.Component);BM.ValidationError.go=function(b){var a=MItem.getById(b);a.focus();return false};BM.ConstraintValidationError=function(a,b){BM.ConstraintValidationError.initializeBase(this,[a]);this.constraint=b};BM.ConstraintValidationError.prototype={getErrorText:function(){return this.constraint.getErrorText()}};BM.ConstraintValidationError.registerClass("BM.ConstraintValidationError",BM.ValidationError);BM.NoItemSelectedValidationError=function(a){BM.NoItemSelectedValidationError.initializeBase(this,[a])};BM.NoItemSelectedValidationError.prototype={getErrorText:function(){return BM.Messages.NoItemSelected}};BM.NoItemSelectedValidationError.registerClass("BM.NoItemSelectedValidationError",BM.ValidationError);